fix: 'create agent' command to show template, bolt framework, and agent framework options#479
fix: 'create agent' command to show template, bolt framework, and agent framework options#479
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #479 +/- ##
==========================================
+ Coverage 71.19% 71.23% +0.04%
==========================================
Files 222 222
Lines 18595 18664 +69
==========================================
+ Hits 13238 13295 +57
- Misses 4178 4189 +11
- Partials 1179 1180 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
cmd/project/create_template.go
Outdated
| "slack-cli#ai-apps/support-agent": { | ||
| { | ||
| Title: fmt.Sprintf("Claude Agent SDK %s", style.Secondary("Bolt for Python")), | ||
| Title: fmt.Sprintf("Bolt for JavaScript %s", style.Secondary("Node.js")), |
There was a problem hiding this comment.
question: We originally brainstormed having the Secondary display the breadcrumb of the previous selection. I'm just curious why you decided to not include that?
cmd/project/create_template.go
Outdated
| adapterPromptObjects := map[string][]promptObject{ | ||
| "slack-cli#ai-apps/support-agent/bolt-js": { | ||
| { | ||
| Title: "Claude Agent SDK", |
There was a problem hiding this comment.
question: Why don't these have any Secondary text? To me, it feels a little off that these offer no hints or additional descriptions.
There was a problem hiding this comment.
@zimeg This is looking better! I might have a few suggestions around wording but I'll keep looking on the PR first! 🔍
There was a problem hiding this comment.
thank you for making these changes 💟 !
this is working great but i think language/ ui improvements can be made 🤔
my main concern is that after the template is selected the flow is the exact same - there arent any indicators of what selection was made. it'd be nice to use Secondarys for that,,, or perhaps we look into charm features for this?
mwbrooks
left a comment
There was a problem hiding this comment.
@zimeg Thanks for the quick iterations! 🧭
The prompts are looking a lot better.
❓ Question: Do have the ability to customize the Bolt Framework prompt? Right now, the secondary doesn't show the breadcrumb from choosing the Starter Agent and Support Agent (see screenshot). If we don't have the ability because we're reusing the prompt for all templates then that's okay.
mwbrooks
left a comment
There was a problem hiding this comment.
✅ Woohoo! This is looking very good! Love the recent update and now the breadcrumbs are consistent throughout the create agent prompt journey.

Changelog
Summary
This PR fixes the
slack create agentcommand prompts with separate inputs for more framework and agent adapter options. This includes the following templates now:Getting started
Starter agent
Support agent
Automation apps
Preview
demo.mov
Reviewers
Confirm the expected options appear with the following commands:
Requirements